﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Enterprise.Management.Models;
using System.ComponentModel.DataAnnotations;

namespace Enterprise.Management.ViewModels
{
    public class BIViewModel
    {
        public bool isNew { get; set; }

        [Display(Name = "营业部名称")]
        public string BscInf_DeptName { get; set; }

        [Display(Name = "营业部等级")]
        public string BscInf_DeptLevel { get; set; }

        [Display(Name = "营业部面积")]
        public double BscInf_Area { get; set; }

        [Display(Name = "传真")]
        public string BscInf_Fax { get; set; }

        [Display(Name = "邮编")]
        public string BscInf_ZipCode { get; set; }

        [Display(Name = "地址")]
        public string BscInf_Address { get; set; }

        [Display(Name = "营业场地租赁性质")]
        public string BscInf_RntlPrpt { get; set; }

        [Display(Name = "咨询电话")]
        public string BscInf_TelCnsl { get; set; }

        [Display(Name = "委托电话")]
        public string BscInf_TelDlgt { get; set; }

        [Display(Name = "投诉电话")]
        public string BscInf_TelCmpl { get; set; }

        [Display(Name = "营业部成立日期")]
        public DateTime BscInf_DOB { get; set; }

        [Display(Name = "职工总数")]
        public int BscInf_EmpTotalNum { get; set; }

        [Display(Name = "所在辖区")]
        public string BscInf_Xiaqu { get; set; }

        [Display(Name = "所在地级行政区")]
        public string BscInf_DijiXzq { get; set; }

        [Display(Name = "所在县级行政区")]
        public string BscInf_XianjiXzq { get; set; }

        [Display(Name = "营业部编码")]
        public string BscInf_Bianma { get; set; }

        [Display(Name = "营业部机构编码")]
        public string BscInf_JigouBianma { get; set; }

        [Display(Name = "获期货IB资格时间")]
        public DateTime BscInf_QihuoIBDate { get; set; }

        [Display(Name = "获双融资格时间")]
        public DateTime BscInf_ShuangRongDate { get; set; }

        [Display(Name = "获开展经纪人业务资格时间")]
        public DateTime BscInf_JingjirenYewuDate { get; set; }

        [Display(Name = "总经理")]
        public string BscInf_ManagerName { get; set; }

        [Display(Name = "手机")]
        public string BscInf_ManagerMobile { get; set; }

        [Display(Name = "座机")]
        public string BscInf_ManagerTel { get; set; }

        [Display(Name = "邮箱")]
        public string BscInf_ManagerEmail { get; set; }

        [Display(Name = "党委组织部批复日期")]
        public DateTime BscInf_ManagerDangPifuDate { get; set; }

        [Display(Name = "副总经理")]
        public string BscInf_DeputyManagerName { get; set; }

        [Display(Name = "手机")]
        public string BscInf_DeputyManagerMobile { get; set; }

        [Display(Name = "座机")]
        public string BscInf_DeputyManagerTel { get; set; }

        [Display(Name = "邮箱")]
        public string BscInf_DeputyManagerEmail { get; set; }

        [Display(Name = "党委组织部批复日期")]
        public DateTime BscInf_DeputyManagerDangPifuDate { get; set; }

        [Display(Name = "营销总监")]
        public string BscInf_MarketDirectorName { get; set; }

        [Display(Name = "手机")]
        public string BscInf_MarketDirectorMobile { get; set; }

        [Display(Name = "座机")]
        public string BscInf_MarketDirectorTel { get; set; }

        [Display(Name = "邮箱")]
        public string BscInf_MarketDirectorEmail { get; set; }

        [Display(Name = "党委组织部批复日期")]
        public DateTime BscInf_MarketDirectorDangPifuDate { get; set; }

        [Display(Name = "运营总监")]
	    public string BscInf_OperationDirectorName { get; set; }

        [Display(Name = "手机")]
        public string BscInf_OperationDirectorMobile { get; set; }

        [Display(Name = "座机")]
        public string BscInf_OperationDirectorTel { get; set; }

        [Display(Name = "邮箱")]
        public string BscInf_OperationDirectorEmail { get; set; }

        [Display(Name = "党委组织部批复日期")]
        public DateTime BscInf_OperationDirectorDangPifuDate { get; set; }

        [Display(Name = "投顾总监")]
        public string BscInf_InvestAdvisorDirectorName { get; set; }

        [Display(Name = "手机")]
        public string BscInf_InvestAdvisorDirectorMobile { get; set; }

        [Display(Name = "座机")]
        public string BscInf_InvestAdvisorDirectorTel { get; set; }

        [Display(Name = "邮箱")]
        public string BscInf_InvestAdvisorDirectorEmail { get; set; }

        [Display(Name = "党委组织部批复日期")]
        public DateTime BscInf_InvestAdvisorDangPifuDate { get; set; }

        [Display(Name = "创新业务联系人")]
        public string BscInf_InovationBusinessContactName { get; set; }

        [Display(Name = "手机")]
        public string BscInf_InovationBusinessContactMobile { get; set; }

        [Display(Name = "座机")]
        public string BscInf_InovationBusinessContactTel { get; set; }

        [Display(Name = "邮箱")]
        public string BscInf_InovationBusinessContactEmail { get; set; }

        [Display(Name = "基础编制")]
	    public int BscInf_JichuBianzhi { get; set; }

        [Display(Name = "扩展编制")]
        public int BscInf_KuozhanBianzhi { get; set; }

        [Display(Name = "正式人员（不含营销代表及投资人员）")]
        public int BscInf_OfficialStaffNum { get; set; }

        [Display(Name = "营销代表（人数）")]
        public int BscInf_MarketingNum { get; set; }

        [Display(Name = "投入人员（人数）")]
        public int BscInf_InvestAdvisorNum { get; set; }

        [Display(Name = "经纪人（人数）")]
        public int BscInf_BrokerNum { get; set; }

        [Display(Name = "劳务工（人数）")]
        public int BscInf_ServiceWorkerNum { get; set; }
    }

    public class CreateBIViewModel
    {
        public int BscInf_CtgrID;

        [Display(Name = "营业部名称")]
        public string BscInf_DeptName { get; set; }

        [Required(ErrorMessage="必须填")]
        [StringLength(20, ErrorMessage = "长度不对", MinimumLength = 0)]
        [Display(Name = "营业部等级")]
        public string BscInf_DeptLevel { get; set; }

        [Required(ErrorMessage="必须填")]
        [Range(0.0, 10000.0, ErrorMessage = "数值无效")]
        [Display(Name = "营业部面积")]
        public double BscInf_Area { get; set; }

        [RegularExpression(@"/^[+]{0,1}(\d){1,3}[ ]?([-]?((\d)|[ ]){1,12})+$/", ErrorMessage = "格式有误")]
        [Display(Name = "传真")]        
        public string BscInf_Fax { get; set; }

        [Required(ErrorMessage = "必须填")]

        [RegularExpression(@"[1-9]d{5}(?!d)", ErrorMessage = "格式有误")]
        [Display(Name = "邮编")]
        public string BscInf_ZipCode { get; set; }

        [Required(ErrorMessage = "必须填")]
        [StringLength(255, ErrorMessage = "长度不对", MinimumLength = 0)]
        [Display(Name = "地址")]
        public string BscInf_Address { get; set; }

        [Display(Name = "营业场地租赁性质")]
        [StringLength(30, ErrorMessage = "长度不对", MinimumLength = 0)]
        public string BscInf_RntlPrpt { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^\\(?\\d{3,4}[-\\)]?\\d{7,8}$", ErrorMessage = "格式有误")]
        [Display(Name = "咨询电话")]
        public string BscInf_TelCnsl { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^\\(?\\d{3,4}[-\\)]?\\d{7,8}$", ErrorMessage = "格式有误")]
        [Display(Name = "委托电话")]
        public string BscInf_TelDlgt { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^\\(?\\d{3,4}[-\\)]?\\d{7,8}$", ErrorMessage = "格式有误")]
        [Display(Name = "投诉电话")]
        public string BscInf_TelCmpl { get; set; }

        [Required(ErrorMessage = "必须填")]
        [DataType(DataType.DateTime, ErrorMessage = "格式有误")]
        [Display(Name = "营业部成立日期")]
        public DateTime BscInf_DOB { get; set; }

        [Required(ErrorMessage = "必须填")]
        [Range(0.0, 10000.0, ErrorMessage = "数值无效")]
        [Display(Name = "职工总数")]
        public int BscInf_EmpTotalNum { get; set; }

        [StringLength(30, ErrorMessage = "长度不对", MinimumLength = 0)]
        [Display(Name = "所在辖区")]
        public string BscInf_Xiaqu { get; set; }

        [StringLength(30, ErrorMessage = "长度不对", MinimumLength = 0)]
        [Display(Name = "所在地级行政区")]
        public string BscInf_DijiXzq { get; set; }

        [StringLength(30, ErrorMessage = "长度不对", MinimumLength = 0)]
        [Display(Name = "所在县级行政区")]
        public string BscInf_XianjiXzq { get; set; }

        [Required(ErrorMessage = "必须填")]
        [StringLength(30, ErrorMessage = "长度不对", MinimumLength = 0)]
        [Display(Name = "营业部编码")]
        public string BscInf_Bianma { get; set; }

        [Required(ErrorMessage = "必须填")]
        [StringLength(30, ErrorMessage = "长度不对", MinimumLength = 0)]
        [Display(Name = "营业部机构编码")]
        public string BscInf_JigouBianma { get; set; }

        [DataType(DataType.DateTime, ErrorMessage = "格式有误")]
        [Display(Name = "获期货IB资格时间")]
        public DateTime BscInf_QihuoIBDate { get; set; }

        [DataType(DataType.DateTime, ErrorMessage = "格式有误")]
        [Display(Name = "获双融资格时间")]
        public DateTime BscInf_ShuangRongDate { get; set; }

        [DataType(DataType.DateTime, ErrorMessage = "格式有误")]
        [Display(Name = "获开展经纪人业务资格时间")]
        public DateTime BscInf_JingjirenYewuDate { get; set; }

        [Required(ErrorMessage = "必须填")]
        [StringLength(10, ErrorMessage = "长度不对", MinimumLength = 0)]
        [Display(Name = "总经理")]
        public string BscInf_ManagerName { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^0?\\d{11}$", ErrorMessage = "格式有误")]
        [Display(Name = "手机")]
        public string BscInf_ManagerMobile { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^\\(?\\d{3,4}[-\\)]?\\d{7,8}$", ErrorMessage = "格式有误")]
        [Display(Name = "座机")]
        public string BscInf_ManagerTel { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$", ErrorMessage = "邮件格式不对")]
        [Display(Name = "邮箱")]
        public string BscInf_ManagerEmail { get; set; }

        [Required(ErrorMessage = "必须填")]
        [DataType(DataType.DateTime, ErrorMessage = "格式有误")]
        [Display(Name = "党委组织部批复日期")]
        public DateTime BscInf_ManagerDangPifuDate { get; set; }

        [Required(ErrorMessage = "必须填")]
        [StringLength(10, ErrorMessage = "长度不对", MinimumLength = 0)]
        [Display(Name = "副总经理")]
        public string BscInf_DeputyManagerName { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^0?\\d{11}$", ErrorMessage = "格式有误")]
        [Display(Name = "手机")]
        public string BscInf_DeputyManagerMobile { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^\\(?\\d{3,4}[-\\)]?\\d{7,8}$", ErrorMessage = "格式有误")]
        [Display(Name = "座机")]
        public string BscInf_DeputyManagerTel { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$", ErrorMessage = "邮件格式不对")]
        [Display(Name = "邮箱")]
        public string BscInf_DeputyManagerEmail { get; set; }

        [Required(ErrorMessage = "必须填")]
        [DataType(DataType.DateTime, ErrorMessage = "格式有误")]
        [Display(Name = "党委组织部批复日期")]
        public DateTime BscInf_DeputyManagerDangPifuDate { get; set; }

        [Required(ErrorMessage = "必须填")]
        [StringLength(20, ErrorMessage = "长度不对", MinimumLength = 0)]
        [Display(Name = "营销总监")]
        public string BscInf_MarketDirectorName { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^0?\\d{11}$", ErrorMessage = "格式有误")]
        [Display(Name = "手机")]
        public string BscInf_MarketDirectorMobile { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^\\(?\\d{3,4}[-\\)]?\\d{7,8}$", ErrorMessage = "格式有误")]
        [Display(Name = "座机")]
        public string BscInf_MarketDirectorTel { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$", ErrorMessage = "邮件格式不对")]
        [Display(Name = "邮箱")]
        public string BscInf_MarketDirectorEmail { get; set; }

        [Required(ErrorMessage = "必须填")]
        [DataType(DataType.DateTime, ErrorMessage = "格式有误")]
        [Display(Name = "党委组织部批复日期")]
        public DateTime BscInf_MarketDirectorDangPifuDate { get; set; }

        [Required(ErrorMessage = "必须填")]
        [StringLength(20, ErrorMessage = "长度不对", MinimumLength = 0)]
        [Display(Name = "运营总监")]
        public string BscInf_OperationDirectorName { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^0?\\d{11}$", ErrorMessage = "格式有误")]
        [Display(Name = "手机")]
        public string BscInf_OperationDirectorMobile { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^\\(?\\d{3,4}[-\\)]?\\d{7,8}$", ErrorMessage = "格式有误")]
        [Display(Name = "座机")]
        public string BscInf_OperationDirectorTel { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$", ErrorMessage = "邮件格式不对")]
        [Display(Name = "邮箱")]
        public string BscInf_OperationDirectorEmail { get; set; }

        [Required(ErrorMessage = "必须填")]
        [DataType(DataType.DateTime, ErrorMessage = "格式有误")]
        [Display(Name = "党委组织部批复日期")]
        public DateTime BscInf_OperationDirectorDangPifuDate { get; set; }

        [Required(ErrorMessage = "必须填")]
        [StringLength(20, ErrorMessage = "长度不对", MinimumLength = 0)]
        [Display(Name = "投顾总监")]
        public string BscInf_InvestAdvisorDirectorName { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^0?\\d{11}$", ErrorMessage = "格式有误")]
        [Display(Name = "手机")]
        public string BscInf_InvestAdvisorDirectorMobile { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^\\(?\\d{3,4}[-\\)]?\\d{7,8}$", ErrorMessage = "格式有误")]
        [Display(Name = "座机")]
        public string BscInf_InvestAdvisorDirectorTel { get; set; }

        [Required(ErrorMessage = "必须填")]
        [Display(Name = "邮箱")]
        [RegularExpression(@"^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$", ErrorMessage = "邮件格式不对")]
        public string BscInf_InvestAdvisorDirectorEmail { get; set; }

        [Required(ErrorMessage = "必须填")]
        [DataType(DataType.DateTime, ErrorMessage = "格式有误")]
        [Display(Name = "党委组织部批复日期")]
        public DateTime BscInf_InvestAdvisorDangPifuDate { get; set; }

        [Required(ErrorMessage = "必须填")]
        [StringLength(10, ErrorMessage = "长度不对", MinimumLength = 0)]
        [Display(Name = "创新业务联系人")]
        public string BscInf_InovationBusinessContactName { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^0?\\d{11}$", ErrorMessage = "格式有误")]
        [Display(Name = "手机")]
        public string BscInf_InovationBusinessContactMobile { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^\\(?\\d{3,4}[-\\)]?\\d{7,8}$", ErrorMessage = "格式有误")]
        [Display(Name = "座机")]
        public string BscInf_InovationBusinessContactTel { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$", ErrorMessage = "邮件格式不对")]
        [Display(Name = "邮箱")]
        public string BscInf_InovationBusinessContactEmail { get; set; }

        [Required(ErrorMessage = "必须填")]
        [Range(0.0, 10000.0, ErrorMessage = "数值无效")]
        [Display(Name = "基础编制")]
        public int BscInf_JichuBianzhi { get; set; }

        [Required(ErrorMessage = "必须填")]
        [Range(0.0, 10000.0, ErrorMessage = "数值无效")]
        [Display(Name = "扩展编制")]
        public int BscInf_KuozhanBianzhi { get; set; }

        [Required(ErrorMessage = "必须填")]
        [Range(0.0, 10000.0, ErrorMessage = "数值无效")]
        [Display(Name = "正式人员（不含营销代表及投资人员）")]
        public int BscInf_OfficialStaffNum { get; set; }

        [Required(ErrorMessage = "必须填")]
        [Range(0.0, 10000.0, ErrorMessage = "数值无效")]
        [Display(Name = "营销代表（人数）")]
        public int BscInf_MarketingNum { get; set; }

        [Required(ErrorMessage = "必须填")]
        [Range(0.0, 10000.0, ErrorMessage = "数值无效")]
        [Display(Name = "投入人员（人数）")]
        public int BscInf_InvestAdvisorNum { get; set; }

        [Required(ErrorMessage = "必须填")]
        [Range(0.0, 10000.0, ErrorMessage = "数值无效")]
        [Display(Name = "经纪人（人数）")]
        public int BscInf_BrokerNum { get; set; }

        [Required(ErrorMessage = "必须填")]
        [Range(0.0, 10000.0, ErrorMessage = "数值无效")]
        [Display(Name = "劳务工（人数）")]
        public int BscInf_ServiceWorkerNum { get; set; }
    }

    public class UpdateBIViewModel
    {
        public int BscInf_CtgrID;

        [Display(Name = "营业部名称")]
        public string BscInf_DeptName { get; set; }

        [Required(ErrorMessage = "必须填")]
        [StringLength(20, ErrorMessage = "长度不对", MinimumLength = 0)]
        [Display(Name = "营业部等级")]
        public string BscInf_DeptLevel { get; set; }

        [Required(ErrorMessage = "必须填")]
        [Range(0.0, 10000.0, ErrorMessage = "数值无效")]
        [Display(Name = "营业部面积")]
        public double BscInf_Area { get; set; }

        [RegularExpression(@"/^[+]{0,1}(\d){1,3}[ ]?([-]?((\d)|[ ]){1,12})+$/", ErrorMessage = "格式有误")]
        [Display(Name = "传真")]
        public string BscInf_Fax { get; set; }

        [Required(ErrorMessage = "必须填")]

        [RegularExpression(@"[1-9]d{5}(?!d)", ErrorMessage = "格式有误")]
        [Display(Name = "邮编")]
        public string BscInf_ZipCode { get; set; }

        [Required(ErrorMessage = "必须填")]
        [StringLength(255, ErrorMessage = "长度不对", MinimumLength = 0)]
        [Display(Name = "地址")]
        public string BscInf_Address { get; set; }

        [Display(Name = "营业场地租赁性质")]
        [StringLength(30, ErrorMessage = "长度不对", MinimumLength = 0)]
        public string BscInf_RntlPrpt { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^\\(?\\d{3,4}[-\\)]?\\d{7,8}$", ErrorMessage = "格式有误")]
        [Display(Name = "咨询电话")]
        public string BscInf_TelCnsl { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^\\(?\\d{3,4}[-\\)]?\\d{7,8}$", ErrorMessage = "格式有误")]
        [Display(Name = "委托电话")]
        public string BscInf_TelDlgt { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^\\(?\\d{3,4}[-\\)]?\\d{7,8}$", ErrorMessage = "格式有误")]
        [Display(Name = "投诉电话")]
        public string BscInf_TelCmpl { get; set; }

        [Required(ErrorMessage = "必须填")]
        [DataType(DataType.DateTime, ErrorMessage = "格式有误")]
        [Display(Name = "营业部成立日期")]
        public DateTime BscInf_DOB { get; set; }

        [Required(ErrorMessage = "必须填")]
        [Range(0.0, 10000.0, ErrorMessage = "数值无效")]
        [Display(Name = "职工总数")]
        public int BscInf_EmpTotalNum { get; set; }

        [StringLength(30, ErrorMessage = "长度不对", MinimumLength = 0)]
        [Display(Name = "所在辖区")]
        public string BscInf_Xiaqu { get; set; }

        [StringLength(30, ErrorMessage = "长度不对", MinimumLength = 0)]
        [Display(Name = "所在地级行政区")]
        public string BscInf_DijiXzq { get; set; }

        [StringLength(30, ErrorMessage = "长度不对", MinimumLength = 0)]
        [Display(Name = "所在县级行政区")]
        public string BscInf_XianjiXzq { get; set; }

        [Required(ErrorMessage = "必须填")]
        [StringLength(30, ErrorMessage = "长度不对", MinimumLength = 0)]
        [Display(Name = "营业部编码")]
        public string BscInf_Bianma { get; set; }

        [Required(ErrorMessage = "必须填")]
        [StringLength(30, ErrorMessage = "长度不对", MinimumLength = 0)]
        [Display(Name = "营业部机构编码")]
        public string BscInf_JigouBianma { get; set; }

        [DataType(DataType.DateTime, ErrorMessage = "格式有误")]
        [Display(Name = "获期货IB资格时间")]
        public DateTime BscInf_QihuoIBDate { get; set; }

        [DataType(DataType.DateTime, ErrorMessage = "格式有误")]
        [Display(Name = "获双融资格时间")]
        public DateTime BscInf_ShuangRongDate { get; set; }

        [DataType(DataType.DateTime, ErrorMessage = "格式有误")]
        [Display(Name = "获开展经纪人业务资格时间")]
        public DateTime BscInf_JingjirenYewuDate { get; set; }

        [Required(ErrorMessage = "必须填")]
        [StringLength(10, ErrorMessage = "长度不对", MinimumLength = 0)]
        [Display(Name = "总经理")]
        public string BscInf_ManagerName { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^0?\\d{11}$", ErrorMessage = "格式有误")]
        [Display(Name = "手机")]
        public string BscInf_ManagerMobile { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^\\(?\\d{3,4}[-\\)]?\\d{7,8}$", ErrorMessage = "格式有误")]
        [Display(Name = "座机")]
        public string BscInf_ManagerTel { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$", ErrorMessage = "邮件格式不对")]
        [Display(Name = "邮箱")]
        public string BscInf_ManagerEmail { get; set; }

        [Required(ErrorMessage = "必须填")]
        [DataType(DataType.DateTime, ErrorMessage = "格式有误")]
        [Display(Name = "党委组织部批复日期")]
        public DateTime BscInf_ManagerDangPifuDate { get; set; }

        [Required(ErrorMessage = "必须填")]
        [StringLength(10, ErrorMessage = "长度不对", MinimumLength = 0)]
        [Display(Name = "副总经理")]
        public string BscInf_DeputyManagerName { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^0?\\d{11}$", ErrorMessage = "格式有误")]
        [Display(Name = "手机")]
        public string BscInf_DeputyManagerMobile { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^\\(?\\d{3,4}[-\\)]?\\d{7,8}$", ErrorMessage = "格式有误")]
        [Display(Name = "座机")]
        public string BscInf_DeputyManagerTel { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$", ErrorMessage = "邮件格式不对")]
        [Display(Name = "邮箱")]
        public string BscInf_DeputyManagerEmail { get; set; }

        [Required(ErrorMessage = "必须填")]
        [DataType(DataType.DateTime, ErrorMessage = "格式有误")]
        [Display(Name = "党委组织部批复日期")]
        public DateTime BscInf_DeputyManagerDangPifuDate { get; set; }

        [Required(ErrorMessage = "必须填")]
        [StringLength(20, ErrorMessage = "长度不对", MinimumLength = 0)]
        [Display(Name = "营销总监")]
        public string BscInf_MarketDirectorName { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^0?\\d{11}$", ErrorMessage = "格式有误")]
        [Display(Name = "手机")]
        public string BscInf_MarketDirectorMobile { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^\\(?\\d{3,4}[-\\)]?\\d{7,8}$", ErrorMessage = "格式有误")]
        [Display(Name = "座机")]
        public string BscInf_MarketDirectorTel { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$", ErrorMessage = "邮件格式不对")]
        [Display(Name = "邮箱")]
        public string BscInf_MarketDirectorEmail { get; set; }

        [Required(ErrorMessage = "必须填")]
        [DataType(DataType.DateTime, ErrorMessage = "格式有误")]
        [Display(Name = "党委组织部批复日期")]
        public DateTime BscInf_MarketDirectorDangPifuDate { get; set; }

        [Required(ErrorMessage = "必须填")]
        [StringLength(20, ErrorMessage = "长度不对", MinimumLength = 0)]
        [Display(Name = "运营总监")]
        public string BscInf_OperationDirectorName { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^0?\\d{11}$", ErrorMessage = "格式有误")]
        [Display(Name = "手机")]
        public string BscInf_OperationDirectorMobile { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^\\(?\\d{3,4}[-\\)]?\\d{7,8}$", ErrorMessage = "格式有误")]
        [Display(Name = "座机")]
        public string BscInf_OperationDirectorTel { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$", ErrorMessage = "邮件格式不对")]
        [Display(Name = "邮箱")]
        public string BscInf_OperationDirectorEmail { get; set; }

        [Required(ErrorMessage = "必须填")]
        [DataType(DataType.DateTime, ErrorMessage = "格式有误")]
        [Display(Name = "党委组织部批复日期")]
        public DateTime BscInf_OperationDirectorDangPifuDate { get; set; }

        [Required(ErrorMessage = "必须填")]
        [StringLength(20, ErrorMessage = "长度不对", MinimumLength = 0)]
        [Display(Name = "投顾总监")]
        public string BscInf_InvestAdvisorDirectorName { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^0?\\d{11}$", ErrorMessage = "格式有误")]
        [Display(Name = "手机")]
        public string BscInf_InvestAdvisorDirectorMobile { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^\\(?\\d{3,4}[-\\)]?\\d{7,8}$", ErrorMessage = "格式有误")]
        [Display(Name = "座机")]
        public string BscInf_InvestAdvisorDirectorTel { get; set; }

        [Required(ErrorMessage = "必须填")]
        [Display(Name = "邮箱")]
        [RegularExpression(@"^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$", ErrorMessage = "邮件格式不对")]
        public string BscInf_InvestAdvisorDirectorEmail { get; set; }

        [Required(ErrorMessage = "必须填")]
        [DataType(DataType.DateTime, ErrorMessage = "格式有误")]
        [Display(Name = "党委组织部批复日期")]
        public DateTime BscInf_InvestAdvisorDangPifuDate { get; set; }

        [Required(ErrorMessage = "必须填")]
        [StringLength(10, ErrorMessage = "长度不对", MinimumLength = 0)]
        [Display(Name = "创新业务联系人")]
        public string BscInf_InovationBusinessContactName { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^0?\\d{11}$", ErrorMessage = "格式有误")]
        [Display(Name = "手机")]
        public string BscInf_InovationBusinessContactMobile { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^\\(?\\d{3,4}[-\\)]?\\d{7,8}$", ErrorMessage = "格式有误")]
        [Display(Name = "座机")]
        public string BscInf_InovationBusinessContactTel { get; set; }

        [Required(ErrorMessage = "必须填")]
        [RegularExpression(@"^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$", ErrorMessage = "邮件格式不对")]
        [Display(Name = "邮箱")]
        public string BscInf_InovationBusinessContactEmail { get; set; }

        [Required(ErrorMessage = "必须填")]
        [Range(0.0, 10000.0, ErrorMessage = "数值无效")]
        [Display(Name = "基础编制")]
        public int BscInf_JichuBianzhi { get; set; }

        [Required(ErrorMessage = "必须填")]
        [Range(0.0, 10000.0, ErrorMessage = "数值无效")]
        [Display(Name = "扩展编制")]
        public int BscInf_KuozhanBianzhi { get; set; }

        [Required(ErrorMessage = "必须填")]
        [Range(0.0, 10000.0, ErrorMessage = "数值无效")]
        [Display(Name = "正式人员（不含营销代表及投资人员）")]
        public int BscInf_OfficialStaffNum { get; set; }

        [Required(ErrorMessage = "必须填")]
        [Range(0.0, 10000.0, ErrorMessage = "数值无效")]
        [Display(Name = "营销代表（人数）")]
        public int BscInf_MarketingNum { get; set; }

        [Required(ErrorMessage = "必须填")]
        [Range(0.0, 10000.0, ErrorMessage = "数值无效")]
        [Display(Name = "投入人员（人数）")]
        public int BscInf_InvestAdvisorNum { get; set; }

        [Required(ErrorMessage = "必须填")]
        [Range(0.0, 10000.0, ErrorMessage = "数值无效")]
        [Display(Name = "经纪人（人数）")]
        public int BscInf_BrokerNum { get; set; }

        [Required(ErrorMessage = "必须填")]
        [Range(0.0, 10000.0, ErrorMessage = "数值无效")]
        [Display(Name = "劳务工（人数）")]
        public int BscInf_ServiceWorkerNum { get; set; }
    }
}